// Could not Fast Refresh ("default" export is incompatible) 
// 懒加载导致的警告问题修复方案  
// 1.component:lazy(() => import("@/views/login/index")) 内联
// 2.修改导出方式 导出default  导出const login = ()=>{}  
const LoginView = lazy(() => import("@/views/login/index"));
import { lazy } from "react";
// 路由懒加载
const routes = [
  {
    path: "/",
    element: <LoginView />,
  }
];
// todo: 路由懒加载
export default routes;


